package com.example.tys.daggermvp.mvp.contract;

import com.example.tys.daggermvp.mvp.base.BaseModule;
import com.example.tys.daggermvp.mvp.base.BasePresenter;
import com.example.tys.daggermvp.mvp.base.BaseView;

/**
 * Presenter和View的接口
 *
 * @author tys
 * @date 2018/4/17
 */

public interface MainActivityContract {

    interface View extends BaseView<Presenter> {
        void say(String v);
    }

    abstract class Presenter extends BasePresenter<View, Date> {
        public abstract String say(String v);
    }


    interface Date extends BaseModule {
        String say(String v);
    }
}
